package com.mashuai.utils.ztest.toolkit.mp;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mashuai.utils.ztest.pb.bean.MsDict;
import com.mashuai.utils.ztest.pb.mapper.MsDictMapper;
import org.springframework.stereotype.Component;

/**
 * @ClassName: MsDictService
 * @Description:
 */
@Component
public class MsDictService extends ServiceImpl<MsDictMapper, MsDict> {


    public void saveTest() {
        MsDict dict = new MsDict();
        dict.setId("ms" + System.currentTimeMillis());
        dict.setForder(0);
        dict.setLabel("标签");
        dict.setType("1");
        dict.setValue("a1");
        this.saveOrUpdate(dict);
    }

    @Override
    public boolean saveOrUpdate(MsDict entity) {

        return false;
    }
}
